package com.xrd.uart.uart.rxobserver;

import java.util.Observable;
import java.util.Observer;

/**
 * Creatd by Yumiko
 * All is boring expect MeiZi.
 * on 2019/11/28
 */
public abstract class RXObserver implements Observer {
    @Override
    public void update(Observable o, Object arg) {
        this.analyData((byte[]) arg);
    }

    public abstract void analyData(byte[] arg);


}
